﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace radnaVerzija
{
    public partial class DAL
    {
        public class DAOFactory
        {
            private static DAOFactory instanca = null;
            public static DAOFactory Instanca
            {
                get
                {
                    if (null == instanca)
                        return instanca = new DAOFactory();
                    return instanca;
                }
            }

            private DAOFactory() { }

            public UposlenikDAO getUposlenikDAO()
            {
                return new UposlenikDAO();
            }
            
        }
    }
}
